<template>
  <div class="mobile-homepage">
    <mobile-login v-if="!store.token" class="flex justify-around"/>
    <homepage-info v-else/>
  </div>
</template>

<script setup>
import {useStore} from "@/store/index"
// 手机验证码登录
import MobileLogin from '@/components/MobileLogin/index.vue'
// 信息页面
import HomepageInfo from './components/HomepageInfo/index.vue'
const store = useStore()
</script>

<style scoped>
.mobile-homepage {
  position: relative;
  height: calc(100vh - 7rem);
}
</style>
